package com.jxc.entity;

/**
 * Storagelist entity. @author MyEclipse Persistence Tools
 */

public class Storagelist implements java.io.Serializable {

	// Fields

	private Integer id;
	private Storage storage;
	private Commodity commodity;
	private Integer quantity;
	private Double price;
	private String remarks;
	private String payment;
	private String invoice;
	private String sn;

	// Constructors

	/** default constructor */
	public Storagelist() {
	}

	/** full constructor */
	public Storagelist(Storage storage, Commodity commodity, Integer quantity,
			Double price, String remarks, String payment, String invoice,
			String sn) {
		this.storage = storage;
		this.commodity = commodity;
		this.quantity = quantity;
		this.price = price;
		this.remarks = remarks;
		this.payment = payment;
		this.invoice = invoice;
		this.sn = sn;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Storage getStorage() {
		return this.storage;
	}

	public void setStorage(Storage storage) {
		this.storage = storage;
	}

	public Commodity getCommodity() {
		return this.commodity;
	}

	public void setCommodity(Commodity commodity) {
		this.commodity = commodity;
	}

	public Integer getQuantity() {
		return this.quantity;
	}

	public void setQuantity(Integer quantity) {
		this.quantity = quantity;
	}

	public Double getPrice() {
		return this.price;
	}

	public void setPrice(Double price) {
		this.price = price;
	}

	public String getRemarks() {
		return this.remarks;
	}

	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}

	public String getPayment() {
		return this.payment;
	}

	public void setPayment(String payment) {
		this.payment = payment;
	}

	public String getInvoice() {
		return this.invoice;
	}

	public void setInvoice(String invoice) {
		this.invoice = invoice;
	}

	public String getSn() {
		return this.sn;
	}

	public void setSn(String sn) {
		this.sn = sn;
	}

}